<?php

namespace app\validate;

use core\validate\ValidateBase;
use think\Validate;

class OrganCompany extends ValidateBase
{
    protected $rule =   [
        'title' => 'require',
        'type'  => 'require|number',
    ];

    protected $message  =   [
        'title.require' => '机构名必填',
        'type.number'   => '机构类型必填',
        'type.require'  => '机构类型必填',

    ];
}
